<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of error
 *
 * @author 
 */
class ErrorPage extends MY_Controller{
	public function pagenotfound() {
		if($this->isAjax()) {
			$this->renderPartial('errorpage/pagenotfound');
		} else {
			$this->render('errorpage/pagenotfound');
		}
	}
}
